Optimal. Leaf size=69 \[ \frac{\tanh ^{-1}\left (\sqrt{1-i} \tanh (x)\right )}{4 \sqrt{1-i}}+\frac{\tanh ^{-1}\left (\sqrt{1+i} \tanh (x)\right )}{4 \sqrt{1+i}}+\frac{\tanh ^{-1}\left (\sqrt{2} \tanh (x)\right )}{4 \sqrt{2}}+\frac{\tanh (x)}{4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0772041, antiderivative size = 69, normalized size of antiderivative = 1., number of steps used = 10, number of rules used = 6, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.6, Rules used = {3211, 3181, 206, 3175, 3767, 8} \[ \frac{\tanh ^{-1}\left (\sqrt{1-i} \tanh (x)\right )}{4 \sqrt{1-i}}+\frac{\tanh ^{-1}\left (\sqrt{1+i} \tanh (x)\right )}{4 \sqrt{1+i}}+\frac{\tanh ^{-1}\left (\sqrt{2} \tanh (x)\right )}{4 \sqrt{2}}+\frac{\tanh (x)}{4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3211
Rule 3181
Rule 206
Rule 3175
Rule 3767
Rule 8
Rubi steps
\begin{align*} \int \frac{1}{1-\sinh ^8(x)} \, dx &=\frac{1}{4} \int \frac{1}{1-\sinh ^2(x)} \, dx+\frac{1}{4} \int \frac{1}{1-i \sinh ^2(x)} \, dx+\frac{1}{4} \int \frac{1}{1+i \sinh ^2(x)} \, dx+\frac{1}{4} \int \frac{1}{1+\sinh ^2(x)} \, dx\\ &=\frac{1}{4} \int \text{sech}^2(x) \, dx+\frac{1}{4} \operatorname{Subst}\left (\int \frac{1}{1-2 x^2} \, dx,x,\tanh (x)\right )+\frac{1}{4} \operatorname{Subst}\left (\int \frac{1}{1-(1+i) x^2} \, dx,x,\tanh (x)\right )+\frac{1}{4} \operatorname{Subst}\left (\int \frac{1}{1-(1-i) x^2} \, dx,x,\tanh (x)\right )\\ &=\frac{\tanh ^{-1}\left (\sqrt{1-i} \tanh (x)\right )}{4 \sqrt{1-i}}+\frac{\tanh ^{-1}\left (\sqrt{1+i} \tanh (x)\right )}{4 \sqrt{1+i}}+\frac{\tanh ^{-1}\left (\sqrt{2} \tanh (x)\right )}{4 \sqrt{2}}+\frac{1}{4} i \operatorname{Subst}(\int 1 \, dx,x,-i \tanh (x))\\ &=\frac{\tanh ^{-1}\left (\sqrt{1-i} \tanh (x)\right )}{4 \sqrt{1-i}}+\frac{\tanh ^{-1}\left (\sqrt{1+i} \tanh (x)\right )}{4 \sqrt{1+i}}+\frac{\tanh ^{-1}\left (\sqrt{2} \tanh (x)\right )}{4 \sqrt{2}}+\frac{\tanh (x)}{4}\\ \end{align*}
Mathematica [A] time = 0.482848, size = 64, normalized size = 0.93 \[ \frac{1}{8} \left (\frac{2 \tanh ^{-1}\left (\sqrt{1-i} \tanh (x)\right )}{\sqrt{1-i}}+\frac{2 \tanh ^{-1}\left (\sqrt{1+i} \tanh (x)\right )}{\sqrt{1+i}}+\sqrt{2} \tanh ^{-1}\left (\sqrt{2} \tanh (x)\right )+2 \tanh (x)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.033, size = 99, normalized size = 1.4 \begin{align*}{\frac{1}{8}\sum _{{\it \_R}={\it RootOf} \left ( 2\,{{\it \_Z}}^{4}-2\,{{\it \_Z}}^{2}+1 \right ) }{\it \_R}\,\ln \left ( \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{2}+ \left ( -4\,{{\it \_R}}^{3}+4\,{\it \_R} \right ) \tanh \left ({\frac{x}{2}} \right ) +1 \right ) }+{\frac{1}{2}\tanh \left ({\frac{x}{2}} \right ) \left ( \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{2}+1 \right ) ^{-1}}+{\frac{\sqrt{2}}{8}{\it Artanh} \left ({\frac{\sqrt{2}}{4} \left ( 2\,\tanh \left ( x/2 \right ) -2 \right ) } \right ) }+{\frac{\sqrt{2}}{8}{\it Artanh} \left ({\frac{\sqrt{2}}{4} \left ( 2\,\tanh \left ( x/2 \right ) +2 \right ) } \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\frac{1}{16} \, \sqrt{2} \log \left (-\frac{\sqrt{2} - e^{x} + 1}{\sqrt{2} + e^{x} - 1}\right ) + \frac{1}{16} \, \sqrt{2} \log \left (-\frac{\sqrt{2} - e^{x} - 1}{\sqrt{2} + e^{x} + 1}\right ) - \frac{1}{2 \,{\left (e^{\left (2 \, x\right )} + 1\right )}} + 8 \, \int \frac{e^{\left (4 \, x\right )}}{e^{\left (8 \, x\right )} - 4 \, e^{\left (6 \, x\right )} + 22 \, e^{\left (4 \, x\right )} - 4 \, e^{\left (2 \, x\right )} + 1}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.85785, size = 2198, normalized size = 31.86 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.38856, size = 65, normalized size = 0.94 \begin{align*} -\frac{1}{16} \, \sqrt{2} \log \left (\frac{{\left | -4 \, \sqrt{2} + 2 \, e^{\left (2 \, x\right )} - 6 \right |}}{{\left | 4 \, \sqrt{2} + 2 \, e^{\left (2 \, x\right )} - 6 \right |}}\right ) - \frac{1}{2 \,{\left (e^{\left (2 \, x\right )} + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]